Started adding global selection code.
Added support for global control selectors.