adding load average stats. small refactorings