added proper code debugging, added proper game debugging, proper effects drawing, refactored a lot of code, cleaned up a lot of code