Major update to search and browse.

Very nearly completed. Browse, search, and modify all work now. Need to write in some additional commenting and do some beta testing.