Some old work
Added some code to spellswitcher. Not done yet, will be finished when I can properly test it.