Merge pull request #399 from Hummer12007/master

Removed duplicate whitespace in source code
Add separate shortcut to force plain text copy, fixes #322
Remember settings of Clear History dialog, fixes #400