cleaned up the mode and modulename settings that used to be access via the upvar. also changed the calling convention for getPathToModule, which now does not throw an exception for minor warnings
cleaned up the mode and modulename settings that used to be access via the upvar. also changed the calling convention for getPathToModule, which now does not throw an exception for minor warnings

abrodkin/modules,wtsi-hgi/modules,wtsi-hgi/modules,abrodkin/modules,abrodkin/modules,abrodkin/modules,wtsi-hgi/modules,wtsi-hgi/modules