Code: Analysis & minor improvements

Also fixed unit tests for B64VLQ.