exploit-fix-o-rama

bashing the captain's head in from afar and then teleporting his corpse might be fun but not allowed.
Shouldn't these be if(I && istype(I))? Or does istype() work fine with a null var?