added a simple dispatcher command queue, it seemed useful for unit tests.