fix for Emacs 24, add autoloads, fix a limit bug
Fix autoload and improve the installation guide.