Justified comments

Lots of comments (perhaps too many) so moved them
a bit to help improve understanding of actual working code