small updates to api for progress monitor, added argument for overriding thread count via cmd line
added some very basic logging for my script main