Added Base64 helpers.
Fixed a few typos.