bug fixes in xgmml parser. finish up the xgmml exporter.