labour: move apply_state to background task
labour/query: such ui, much improve