Added spacebar to toggle pause and escape to quit