Further refactored the main nav bar and surrounding code. Also, I got tooltips to work. Fixes #56.