added STATUS command, added EXAMINE command, made read-only mode for index, cleaned up errors, set \\Seen flag on messages during FETCH