fixed errors, allowed it to compile. The game currently segfaults when ctrl+space is pressed.