Fixed bug where an AreaId between 64 and 255 wouldn't have the correct costs during pathfinding.
Split Poly's area and type into two separate variables to allow the full range of AreaIds.
Other minor refactors using StyleCop.