clean up state logging macros
clean up tiling code
restore original slist order for each tile