cleanup: remove trailing whitespaces
frequency: new option made for logging key frequency

When enabled, logs a time stamp + scan code + key for each key event.