Added an ordering on record types
Fixed a serious bug in the conversion of GMF event based and some small refactoring
Added a nodedict function