added SELF, EXECUTABLE (from PROGRAM), unset BASH_ENV, and Application convenience function