Split this into different files

I decided that the tab and button classes would be easier to manage in
a different file
Cut and paste

Same in and out
Get rid of the silly try/except

The try/except is stupid so I’ve bypassed it