Changed Sprite and Power 'getByName' methods.

They now return null on an unknown Sprite/Power name, preventing
an unexpected Exception to be thrown. Also changed MessageHandler
to include safety checks for null-values from these methods.