Sandvox partially fixed

I discovered that Sandvox uses a framework called Connection Kit for uploading files. I downloaded the framework (it's open source) and found that it had the same problem as Sandvox which lead me to believe that the framework is broken. After spending a large part of today looking at the framework, I managed to fix part of the problem in that I no longer get SSH errors when trying to upload via SFTP. I'm not ready to reveal my fix to the problem and I still don't have things working (some pictures just don't upload).