fixed major issues with message loop source registration