cleaned up code in main.cpp and PLAYER_entity.cpp