Terrain fixes

Includes fix for http://bugs.openmw.org/issues/612 ( and probably http://bugs.openmw.org/issues/684 , though i don't have that mod )