fixed error message
implemented RunCount, broker.Status.state now int