Added some debug messages + fixed queue-at-start.