added getEvent for OSX

This is not a 'good' implementation just a 'fast' implementation :)
Event management will need to be done properly at some stage in the
future!