Fix for landscape view. Untested event for 'orientationchange'.
Blub
Adds encoding
Removes debug output