Event filtering

I had lots of mouse movement events clogging up the event channel, so I added the SetEventFilter function to allow filtering what events you want to see. I have never used cgo before, so this is quite hacky.