Updated / cleaned up most of the comment block.
Added back missing variable.