Returned working directory control to the os in almost all of the resource adding functions and other load functions.
Merge pull request #47 from RobertBColton/master