Misc bug fixes, brain.kod formatting.

Sanity check for valid target added to CastSpell in swap.kod.

Sanity check for valid row and col added to CheckItemPos in ka0.kod (hive shrine).

Reflections and Evil Twins now correctly send 0 for viObject_flags if the original is $.

Animated minions will now correctly follow the master. This prevents the issue where animated minions are left on some screens and so end up as a minion indefinitely. They will now follow until the master logs off when they will be set free. The alternative is to set them free or delete them when the master changes screens too fast, but Animated minions are a little weak for this option.

AssessHit and AssessMiss in monster.kod now check for a valid owner before trying to send sounds to the room.

Formatting fixed in brain.kod, code added to check for reflections and animated minions who have lost their master, in case they are left stranded when the master leaves the room (checked in monster.kod).