Avoid crash if trying to open a non-existent file

...which currently might occur by clicking in the history entry of a file which was removed.

Also, remove the (now redundant) check of the cmdline argument and of last_file, which now produce an error message dialog instead of simply closing the reader.