Made NULL pointer checks in situations where they shouldn't stop the execution of the program silent.