Revert "Remove unused space key signal"

This reverts commit 030a30851dd2b4adcdd5c0c06932139bf8b17149.
Play/pause when the space key is pressed while the window is not visible
Fix naming in comments
Add missing newline