Now with much improved (and needed) comments.
Added tonnes of comments.