Done for the night. Next thing to do is implement SYSV IPC so that I can
keep track of when threads are gone. If not SYSV, MySQL.