Modified xmlclient.terminate() so that it waits until the errStream closes before exiting.
Added a javadoc to GanymedeXMLSession.errPrint()