Added support for ui element states pseudo classes (well, kind off)