Added HTML support and message saving.