Fixed #94, fixed #95, fixed #89 - added material hooks into forge, also
added more entity checks in EntityJoinWorldEvent handler