Use equalsIgnoreCase() instead of equals(), and use == for compaing
worlds.

Fixes #815