check if tileimages are loaded before display
added some movement to tommy
refactor