Added checkFinalSeperator and printing msgBody from getMessageBody for
debugging