Some CheckStyle and JavaFX fixes:

- passing stages to the controller classes (and init task)
- file and directory chooser dialogs can now be opened with an appropriate owner window (modal dialog)
- some checkstyle fixes (mostly javadoc)