fixed some unsigned int issues

oh, you can pull it now.  I tested it, and we can fix any further issues we find on Monday.