Remove outdated code
Use ALEXANDRIA:DEFINE-CONSTANT where appropriate.
Avoid a call to length
MAKE-SYMBOL instead of gensym
Declaim some trivial function inline