Fixes some issues with tab formatting
Rewrites state to remove hover/focus other useless methods, fixes integration with API, removes auto margins on first and last child of some elements