Fixes DDE issues and citetation autocompletion

Removed unnecessary (I believe) encode/decode on string objects. Citing bibliographic entries is now possible. Forward search fixed.