Plat 592 writable sources

Why keep track of the remainingMsgs?  We already have a way of testing whether the queue is empty or full via tryPop so it sounds like remainingMsgs is redundant. That is unless it's used for something else that I haven't seen yet.