Free some RAM by merging widget set/get state functions.