improved arg handling/checking;
fixed a potential null ref exception when two threads contend for the last remaining work chunk
Merge branch 'master' of https://github.com/david-earl/ant-tools.git