Display only the latest version of every element.
Removed debug logging.
Do a second pass when adding changes to properly order them.