Fixed null pointer error in navigation.  Made ball-hunting code less likely to crash into walls.