added AddLabel support in batch mode
added isBatchStarted to client and some minor fixes