Cleaned & linted, some comments added re things of interest.