All: Fixed masking issue and also made all char *'s unsigned.