Small refactorings
updated handling of checkboxes/radio elements
fixed layout issue in main nav for chrome