Also setting $PROGRAM_NAME during init

which used to be part of topazproject/topaz#474