Gui refactoring.  IDisplay now belongs to render thread.