Partially created caching system (code is now broken)
Implemented caching system to (hopefully) help me speed up graphics and combat.

This commit is still a regression on graphics; next commit(s) should bring that back.
Fixed a lot of graphics bugs
Fixed more graphics bugs
Restored wizards' casting and attack animations.

Now the only remaining graphics reversion is the "currently casting" state.