Improve error messages in AlignmentGui

Show an error if the selected output directory is unwritable.
Use message dialogs for errors rather than stdout.