Fixed a bug, introduced StringBuilder, made it work better with whitespaces in batch mode