Parsing fix - throw exception if there are any tokens left when parsing is done.
Client side toolchain - analogic to server side utility methods.
Null ref exc possibility protection.