Commented out the unused BeautifulSoup import.
Some progress in re-organizing the Browse code. Patch mode still doesn't work, due to not being able to JSON-ize the cleaned search form data.