Preliminary bugfix.

Compounds and PropertyChanges do not work together well, yet.
Save compounds when using a Document simulation.

This brings up side-effects with the order of property change events
which need to be fixed.