Fix typo in comment
Simplify handleEvent()
Destroy popup handler, if no popup or popup are closed
Don't log too long data: URIs
Add make.bat