set initial mining intensity to 0, added functions for storing and removing message headers (needed to set the "read_mark" flag in the message header).