Support for rconftools.
Added support for correctly setting up environment on Mac

Normally programs started from GUI doen't process the login scripts so
this helps fix that problem.
Multi-term support