close the logFile when things change
register aboutToQuit() handler and call closeLogFile() there
write start and end of PSKC info
user serial:slot for Key@Id
add tokenLength formatter to get responseFormat correct