Fixes so the new UI will actually run.

Now we can improve things.