WIP: Handling a changing queue of messages

Not meant to be merged, necessarily, just putting my proof of concept up as you may get to this step before I get around to porting it.