Rotation fixed for all interface structures

Also removed much of the debug code in prep for a big code clean up.
It's a mess.