add getStateTreeString() debugging function.  Prints jont tree with tran...

...sforms.