Lots of CSS tweaks, refactored tabbed menu, bug fixes re inactive profiles