Added hook to prevent yasnippets from breaking ansi-term in X mode.
Tried latest version of twit mode, not working still, but using the latest code anyway.  (same error as before, 401)