[surf] Several fixes for scenes.
Several fixes in the creation of surfaces and navigation in scene mode. Possible not to print frame states in the debugger.
Several fixes in the creation of surfaces and navigation in scene mode. Possible not to print frame states in the debugger.