Preventing crash when no file is selected.

Now just exits safely when no file is selected by file manager
4 jobs for Jack in 42 seconds