Refactored some code and added gensyms.
Forgot to add vars.lisp and misc.lisp.