control tile and some cleanup