Refactoring the Inspector Delegate and the InspectorWindowController

...ontroller