Continued improvements to code clarity and prototype usage.
Slight clarifications and comment changes.