Complete parsing of spell table.
Various changes.