Added more event stuff.

Signed-off-by: interdpth <interdpth@gmail.com>
Merge pull request #10 from interdpth/master

Added more event stuff.