Improvements to tile updating, sprite handling