Fixed a bug that would not set the MainFrame instance.

This showed in the status bar not updating.