Tidy up CSS (add constants, options panel displays cleaner).  contents.html now displays properly (with typeahead).