fixing bugs from implementation and restructuring of spells and GUI