Cleanup of main function.
Functions responsible for handling key pressing and releasing improved
First source code cleanup finished.
Basic source code cleanup done. Everything is working before modeling shrimp