fixed leading whitespace messing with args, and added better exception handling of exceptions in the migratable process constructors