Tidied up a little: cleaned out empty lines and tweaked some arrangement. Fixed CastCommand problem that resulted from checking armor spell failure without being sure that armor existed. :P