behavior api for prior/next message implemented. local emu and composer use new api.