Changed some types to unsigned int to match how al the parameters modified by this work are now stored.  Prettied up some spacing.