Small course editor GUI refactoring related to tool window.
Moved code that creates window elements for tool window in the tools themselves.