Fixed some TODOs.

Javadoc and code improvement/correction. Modification of the way an
effect from an area is applied to an entity.