Can now read and delete private messages. Related changes to code and database.