Removed whitespace from settings xml
Moved debug information.

Moved the debug information from the model viewer to a separate debug
viewer.