fix xcode code analysis errors
fix up second level tilemap rendering
more cleanup