Adds more error checking and removes multi-pm support (it's too much of a hassle right now). Still need to debug issue with nodejs logic.