Bugs in .emacs fixed, more testing needed.