replace the windows message loop with the callback message loop