use Ord instance for KEntryLine
refactor
add 'q' as a shortcut for quitting