Removed unnecessary debug code
Changed variable names.

Added comments.
VS Close