fixed major bug in put() causing segfault and system instabililty (!)... working on blocking reader while transfering files. replace still unusable.