Threading and stuff

* Start process on a different thread.
* Use the users home dir rather than a hard coded one.