Adapted code to support new changes to Rust 0.13.0-nightly (636663172)

Added minor adaptions to support new changes in Rust nightly without any warnings.

- Support for Thread::spawn with JoinGuard
- Use parse() for parsing OS args