add GUI for offset measurement/correction