modifying to support general variable selection rather than color
removing wii controller stuff