US44: Add a slider for the preview brightness

- Add a slider to the main toolbar to control the preview brightness.
- Refactor the main window to contain two toolbars, Tools and Layers.
- Both toolbars are movable to any position.
- Add tooltips for the slider widgets.
- Add repaintAsync method to PreviewWidget, that cancels the last background repaint and starts a new one.