increased buffer size (but it didn't seem to make problems), improved debug logging, compiled new static binary