Remove Redundant Code, Handle Invalid EditorViews