Added exception for 3D regions.
Attempted to fix eclipse formatting issues.
Added buggy way to update display direction.