RefTeX, narrowing, switch-window, highlighting

Also a new defun and added some Python mode hooks.