refactored main start up routines
Merge branch 'master' of https://github.com/lorenzoriano/OpenRaving
fixed refactoring bug re myPatcher