Send BLOB as base64 data and some fixes
remove unused comments