introduced automatic mode for slicing an rfo file

* moved file chooser dialog from GCodeWriter to MainFrame