Clean up build settings.
Convert type of seed property and related arguments to unsigned, to match srandom() argument.
Update some parameters and variables to Cocoa types.
Disable unused method.