Fix and improve initialization madness, lexical-let compatibility for new Emacs with cl-lib, check if cache directory exists.