Fixed chat channel sending partially, although only the staff channel seems to work correctly most of the time (of the two existing channels: staff, ooc). Added a spell failure check to spellcasting.