Fix #299: Add new get-TE-only-if-exists method to StaticUtils and use it when dealing with events which can be fired on world load, such as onNeighborChange