Replaced NSNumber with NSInteger in many places.

Just because it is a bit easier to use and you don't have to use a literal to set a number.