Adds a window controller.
Exporting more or less works.