fixed up tmx rendering, add a really simple race logic.