fix sharing of scene by multiple views
cleanup and remove debug leftover.