Add persistent storage for general messages

Avoids losing all general messages after the incidental crash.