Remove dead code from various places
Penalize non-physic gravity well alteration
Fix crash bug when vehicle has no engine object
Remove error log when CHECK_SKILL used with invalid skill number

There are a lot of places (like weapon casting) where spells aren't an
indicator of a code problem.  Returning 0 on an invalid skill is
sufficient.