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