for ssize_t. Removed a couple of no longer used portability functions. Various portability fixes in port.h.
Fixed a number of setupx functions by making them call the setupapi equivalents.