Moved the font changes into mode hooks.