Allow output as iframe in same page

Popup blocker and URL encoding seemed to be giving me strange results, so I added a little inline iframe support.

Just call with an extra argument to `showTree(null, true)` and it'll drop it in. shouldn't affect old code.

cheers,
Adam