Added new fields to spells table, and fix a bug with saving Components