cleanup of temple.dat file stuff, reading/writing of region files passes initial smoke test