So the window outline is text? I suppose it has its benefits. I might suggest allowing users to turn the 3D off, because it can be annoying in some tools. (They may want, for example, 3D in a game, but not on the windows themselves.) Also, the active window is drawn in front of others. This might not be a problem if you draw it last, but it might cause issues with the staggered depths.