Merge pull request #4 from Milly/event_bind_buffer

improved event handling.
Merge branch 'master' into develop
fix document format
Merge branch 'fixhelp' into develop