Working load/save spellbook

Lots of cleaning done.