front: Fix order of thread startup/callback registration.

Should register the callback before starting the thread, not after.
Hadn't noticed any problems yet, but that may have just been luck. This
is the right way to do it now.