Fix an bug where the UI was nut updating it's self when a component was changed.

The new test is just another example, not specifically for that problem.