Added prefs for PYTHONHOME, ProgramName.

Vain attempt to fix the MATLAB crash when using Canopy.