fixes on logging and removing work from queue after live processing