optimized query labels
fixed thread completion status
added timers
fixed duplicate state listeners