Fixed ROLA-script creation: write to temporary file.
Fixed output formats in Exporter refs #15 + Pulled out constants and error-dialogs.