Adds cursor management and cleans up parsing code.
Adds simple sign daemon with fixed mode.
Adds a flush after each write.