Troubled
I hate the gui code
some clean up, things might have broken