Executable checking, doesn't follow symlinks

Now checks executable files (PE and ELF). Will also not follow symlinks, stopping the /usr/bin/X11/X11/X11/X11... fiasco