Fixed some movement bugs
fixed rotations
Refactored movement code, and made all of it capable of using movement delay. This allows for chaining movements because if you hold down a direction for long enough during an animation you will move in it after the current animation finishes.