add TODO
remove unnecessary function gen_unmask()

if this is required, gen_mask() could be extended to take masking parameters
qtdesigner + pyqt test example