Do null checks on worlds and log warnings if one of the worlds are null. Fixes #2.