Replaced clipboard for passing code fragments

Replaced clipboard for passing code fragments between Emacs and
toggleName. The clipboard code kept failing and toggleName would fail in
turn