Added comment on use of select(1).
Moved to XAnyEvent for mapping to _GLFWwindows.
Cleanup of clipboard and string atoms.