Fix AMD exposure: pass the window the factory
Merge pull request #125 from timmywil/amd

Fix AMD exposure: pass the window to the factory