Add example for multiple simultaneous examples
Fix closed flag not being immediatly set on win32