modify Plugin_DispatchMessageW routine