Code cleanup, enum conversion

Also moved typedef ContiguousField e.d. out of Tile class and into Area
file.