The editor doesn't like objects to be loaded before the UI is up. For now just sidestep the problem.