Added ability to mark and delete messages.