more error checks
Merge branch 'master' of github.com:infinitus/process_resource_simulator