Major updates to Selector functionality.
Better stylesheet parsing support added.