modified Stats Monitor file to follow some style guides for scala