Optimaized code for deleting/exiting gameloop back to menue. destructor of world is done.

Test function for exiting world is .
press "T"