Refactored property sheets docking window
Shows the current editor in 'edit' menu nwo
Simplified thread counting
Refactored the actions in main window