strips preceding prompts
Fixed problem where queue was being flushed early