fixing tileset selection from last commit, moved body ui into a template