the bookmarks feature should be a wholly separate and independent standalone program
profile selection should be just a command line argument where you specify the configuration directory
all viewed pages regardless of cached or not should be indexed and thus become searchable with the history feature