Change from ~-pointers to the new Box<> syntax
Remove a few unnecessary heap allocations
Merge pull request #1 from riccieri/master

Fix for current nightly