profile: clean up comments, #!'s
profile: check the right fd for ttyness
profile: move run/gvfs umount into the -d test
profile: remove duplicate makeflags