Cleanup code before actual work
Remember the collapsed state of workbench tools for the session.
Rewrite the new functions to be less verbose.
Fix a typo in JsDoc.
Merge pull request #1062 from janhancic/feature/remember-workbench-state

Remember workbench state