Some fixes, started on adding gui tabs

Tab clicking hasn't been added yet. Some major bugs exist with this new
code, I currently do not know what is causing this, so I do not know
when it will be fixed.