Callback array removed.

Replaced with an iteration over all the callbacks of all the widgets in
all the windows. Crashes on the creation of a second window, with an
invalid parent pointer in the data parameter of a condition.