shrinking the serialized object, simplify the counter monitoring

fix compile error in DriverRunnerTest

fix compile error in worker/IndexPage.scala