moved clipboard code into Ide class
refactoring
added prepending text from clipboard
fix to actually enable listening to clipboard