Total rewrite of module. Now based on a red-black tree data structure, intended to replace pid_map.h module.