party and subcontrols converted to jquery ui

other crap deleted