minor toString() addition
avoid removing and adding the environment param since removing it re-sets the java field and getSignature() can be called after (fixes bug 1349 - envs not working)