first part of a fix for the reward player bug when player is in a vehicle. Optiimized a bunch of code - small tweaks only.