Completely refactored event_callback creation out into event_callback.

Added missing license header

(0) -10 -2 +2 +10 +30 tip

mercurial