Code cleanup.
Deduplicate unwrapping Future[Box[_]].
Deduplicate code for handling futures.
Building with sbt 0.13.0.