Stripped out control characters from selection

Fixes #3