Clean up comments and fix spelling errors
Clear the autosuggestion from the old commandline when showing the completion list. Fixes #561
Use swap instead of copying in reader_repaint_without_autosuggestion