
Unordered TODO list:

-- free() all malloced memory upon exit!

-- update params.handles and params.objectinfo structures after upload and
make folder.

-- consider the idea of adding lasterror variable to PTPParams
