various improvements
error handling fixes.
remove dependency on 'Util' class.
use asap.js and ps.js from http://kworam.github.io/ProcScript