Log when the callbacks are called for easier debugging.
Call the callbacks in the same order they where added.
Merge pull request #236 from mithro/callback-order

Two small fixes (callback order and logging).