increment the message type values so none of them are 0
move java code to reading from memory mapped files in order to support online profiling, as part of #10