Tabs in options + big rewrite of option window rendering and behaviour