Modified doesMainExist, invokeMain methods to remove the need to 
specify the reflected name of main. That is now being pulled from
cpgf.