Fixes another infinite digest loop bug & improves RegEx for processing message into plain text