Added __ to event function names

__ indicates the the functions are private and should not be called
directly
Multiple callbacks

Added possibility to have multiple callbacks for each event.