Added edit mode so that spells and what not won't try and recast.