new namespace requirement means we use onload here instead
added namespace, as required by R 2.14
fixing issue 8 - maxcores not passed through correctly
fixes a whitespace error on MacOSX