fixed up some variables to make them capitalized properly
lots of work to get shared tilesets working.