Fixes #2 and #36.

#2: Added verifying if the file exists, if it's not a directory and if it's executable.
#36: "Open containing directory" button works. If the current path is incorrect, it opens home directory.