Yes
When you copile and run the code, it seems to attempt to run the screen on the disconnected...
I'm not sure what exactly is happening, but the primary monitor being "disconnected"...