v.1.0.2 - fixed: buffer-leak, unlocking, and thread-"work"