File-save dialog, export to text, ..
Refacoring: Move main() out of the Frame.