Autorun editor on file passing

Changed startup to switch to the editor if a file is passed in the
command line (obviously only takes effect if the editor is included in
the build)