Switch-file caused error.
'\n' key should be recognized as enter key.
Don't accept '0' when line number field is empty.