Minor changes - mainly documentation + a few tweaks to the logging.