Little refactor in export, using API instead
Moved blankIfNone to util. Removed dead code blankIfZero
Reset signet state when pressing the Reset button