Abstract logging.
Move hydrarun to hydra_log and some misc fixups