EntityManager.hasChanges event -> EntityManager.hasChangesChanged

+ XHR cleanup for mem issues