To provide detail, screen freezes when i change the program to something else. it freezes like this for 2 minutes, and it's intermittent so very annoying.
While I am not sure exactly what causes it.. I think there is a fix. With that client open, attempt to play any of your razor macros.. this should 'un-freeze' the stuck client immediately.
I had this exact same issue when I first started. Once I started running the Razor & UO executables in Administrator mode, the problem went away. Dunno if it's what is causing your problem, but worth a try!