Basic Z-index system.

NOTE: It also rearranges the widgets in the composite. USE WITH CAUTION