CharString length now a size_t
Fix some unsigned/signed warnings