Added resource cache, sprite revamp, squashed major rendering problem