title: PsychoPy exit fullscreen fails with Spyder
body: <p>I am programming an experiment with PsychoPy, but I'm using Spyder2 as an environment (much better than the Coder).</p>
  
  <p>When I set the window to fullscreen</p>
  
  <pre><code>from psychopy import core, clock, visual, event
  win = visual.Window([800,600], fullscr=True, monitor="testMonitor", units='cm')
  </code></pre>
  
  <p>I can't close it properly. Even when I call <code>win.close()</code> or <code>core.quit()</code>, the screen stayes gray. All text disappears though and I can see my mouse cursor changing, which means that the window is just a ghost. I cant even CTRL+ALT+DEL, as the screen turns black then. I have successfully found the console underneath the gray and typed "quit" which helped in the end.</p>
  
  <p>How can I close the window properly without it leaving a gray screen behind? (Must be something about refreshing the window?)</p>