Did some refactoring. Flicker is gone.
More stuff needs to be done.
Done some stuff. Added some player sprites. Added input handling. I need to star using tilesets...