Fixed issue with success never completing
Changed to be able to specify dynamic number of max messages and threads
Added code to retrieve compartmentalized thread data
Added writing of compartmentalized data
Fixed a null pointer exception