 (defvar floobits-last-highlight)
 (defvar floobits-username)
 (defvar floobits-secret)
+(defvar floobits-user-input-events)
 
 
 (defun floobits-initialize ()
-  (setq floobits-change-set ())
   (setq floobits-agent-buffer "")
+  (setq floobits-user-input-events nil)
   (setq floobits-conn nil)
   (setq floobits-current-position '((mark . 1) (point . 1) (name . "")))
   (setq floobits-open-buffers nil)

(defvar floobits-python-path (concat floobits-plugin-dir "floobits.py"))
(defvar floobits-python-agent)

(defvar floobits-change-set)
(defvar floobits-agent-buffer)
(defvar floobits-conn)
(defvar floobits-current-position)

    (remove-hook 'post-command-hook 'floobits-post-command-func))

  (remove-hook 'after-save-hook 'floobits-after-save-hook)
  (remove-hook 'minibuffer-exit-hook 'floobits-minibuffer-exit-hook)
  (ad-disable-advice 'delete-file 'before 'floobits-delete-file)
  (ad-disable-advice 'rename-file 'before 'floobits-rename-file))

