String class lib small cleanups (rewrite Repeat), and comments