Animation properly works

Fixed spritesheet problems and now loading spritesheets works really
well without flaws, also added the ability to "flip the textures" useful
for player movement so I'd only have to draw the player in one direction
rather than having to create custom spritesheets for each direction :)
Quite a few other bugs fixed