Added pollevent(); returns None if no event available. Don't throw away key events with no window.
Added pollevent(); returns None if no event available.
Don't throw away key events with no window.

sk-/python2.7-type-annotator,sk-/python2.7-type-annotator,sk-/python2.7-type-annotator