trackchanges: add preferences overlay code