fixed issue with dispatcher exiting due to json serialize error (was looking at a datetime not a string).  Also defined queue mode and self dispatch mode.