process canvas events
Merge branch 'master' of https://github.com/jsyang/gdw4