Fix broken queued command handler. Add even moar logging.