Revert "Replaced cached_msglist array with a btree persistent through the session."