first shot at invoice browsing and some other cleanups