Fix a bug where the scene node hierarchy was not getting restored correctly after an undo/redo operation in the scene editor.

This also comments out some code that is no longer needed. This will be deleted later on after some additional testing has been done.
Fix a bug where the staging area on the state stack was not getting cleared after seeking.
Fix several selection bugs.