minor improvements

i put the taskfactory commit up to debate, the nooptask one should be ok, let me know your thoughts