The SetMaximizedViewport command has three flows.
It is slow because it displays four-viewport workspace first and then switches to one maximized viewport.
It can maximize only the viewport that already exists. For example, it cannot maximize pre-defined (standard) Left viewport if the viewport does not exist.
It should be merged with MaxViewport and renamed MaximizeViewport.