Change ToggleSpell() to a simpler, yet reliable logic.
Source user local aliases from .bashrc. Source /etc/profile and /etc/bashrc for non login shells such as ttyrec.