How about a switch for /close to close all query windows that don't have unread text in them.