reinstated and fixed the end-game keypresses; except for unpredictable threading errors when quitting when using the cameras, seems stable