misc bug fixes

* Fix compile error
* Fix bug where initial search in browser wasn't occurring