Merge pull request #2 from riccieri/nightly-updates

Nightly updates
Change all instances of ~"foo" to "foo".to_owned(), because ~"foo" is gone
Remove multiple unnecessary heap allocations for strings
Merge pull request #3 from riccieri/fix-owned-strings

Fix owned string usage