add null check in network manager (null packets are not our problem)also add mech input check for spell (commit: 472aab5)