allow files to be opened from command line

When a filename is passed on the command line, JES will immediately
open it as soon as the GUI initialization is complete.

To help mitigate the inevitable additional I/O errors, the readFile
method (which consists of the openFile method minus the file chooser)
now catches I/O errors that occur while opening files, and displays a
dialog box about them, instead of letting them crash JES.