MazeLoader.cpp sanity checking