master functional, loadavg functional, lotsa fixes!