Implemented "next message" functionality and thread message status.