Resizable viewports

In case anyone else is interested in the BGE as an application GUI. This will resize the viewports to wherever you click. I’m trying to find a way of having it only resize when you click on the border between viewports, but I can’t find a graceful way of doing it.

Great functionality. I’m sure someone will make a use of it.