Implemented os agnostic getHomeDir() and path joining.
Removed references to the user, since they're obselete now
Merge branch 'master' into daemon
Fixed fatal bug where daemon locks up OS on login if not run in background.