Added removal of defunct processes from map and vector
Fixed all memory leaks
Merge pull request #12 from igorii/master

Removing defunct processes, found and closed all memory leaks, added quick leak checker for future