Reduced visibility of constants.
Extracted the main game loop into a separate class.
Refactoring: the GameLoop class doesn't need to know about specific JavaFX types.
Clarified exception message.
Added null checks.
Added a white stroke to ghost blocks, to make them more visible.
Blocks now always spawn with their default orientation.