Correctly theme tabs
MASSIVE update which refactors a lot of things to attempt to be more customizable
Update and add some comments and cleaned some old code