core-foundation.run-loop: define a CALLBACK and use it.
core-foundation: define some more callbacks.