Massive dynamic allocation for shadows fixed.
Memory optimization.
Merge branch 'master' into comments

Conflicts:
	src/entity/LivingEntity.java