changed some adapters on the EMF model to listeners to react to changes
in a cleaner way; collapsing and expanding models now works properly