clut: correct modulo transformation
clut: better gui