initial IME implementation

remove clipboard copy/paste stuff