reading in the level headers for debugging
moved struct definitions into header files
stripped version number, num spellis into a header struct.  Read into header struct rather than reading into separate variables.
I'm pretty sure mdata3 is byte order (instead of revers byte order) because fuck you.
figured out where to peel the number of monsters from.
Overflow was causing me not to find the points at which levels are supposed to be.

Fixed the overflow, now I can read in the level headers correctly, I think.
cleaning up output
read in field records.  Starting to read in monster lairs, teleports, chutes, etc.
more reading of the level.  Looks like I'm correct up through monster lairs.
We now make it to the end of the map data file, asserting that things align as we know they should.
We don't parse the areas correctly yet, but we can identify teleporters, chutes, and monster lairs more or less correctly.
Cleaned up output.  Added some comments.
Pulled magic numbers into consts.