move CPU into seperate thread

starts to add a main menu
TODO: Display cpu cyles in GUI