Dan;
Remove the MVIEW from here:
"UNDO,U,REDO,OOPS,STYLE,MVIEW,COPYCLIP,COPYBASE,CUTCLIP,NEW,QNEW,OPEN,*LAYOUT*,MOVE,COPY,*STRETCH*")))
And replace on both calls where reads:
(wcmatch (getvar "cmdnames") "PLACEVIEW")
With "MVIEW"
Now, run a test and see if works now.