Fix tabs, possibly fix thinkpixellab/flatland/#25

Tabs will display properly now if you've got "show_tab_close_buttons" set to true, also tweaked some sizing and margins a bit on input fields and in tabs.