events : store callback within an event structure, misc
Merge pull request #1 from smaresca/tamas_events_hashtables

events : store callback within an event structure, misc