QXlib update and threshold controls