On an overview:
- Some variable names have been improved and made more meaningful.
- Some un-needed/redundant variables are removed.
- Keyboard control has been centralised for all the areas.
- Large code snippets have been moved to new functions to make the code more modularised.