Don't process expired hazards

Fixes a segfault caused by expired hazards (aka hazards that have
traveled outside the map).
Remove unneeded function calls
Merge remote-tracking branch 'flare-engine/branch0.18' into branch0.18