fix #15 destroy window and context, add exit on escape
ref #15 restrucuture event handling:
* support multiple windows
* allow single eventhandler for multiple windows
* allow individual eventhandler for each window
* revisit event related naming