Ensures that views that are orphaned update their pane and adds more comments on the purpose of this code.
Unit tests updated for previous code change.