Got rid of some compiler warnings.
Changed Scala version to 2.10.1.