first pass on tile controller refactor
preview now works
layer renaming now works
minor cleanups