took out several strlen() calls out of the loop; replaced int's with siz...

My first commit! Very minor stuff, just testing the waters...