MADS: Changed 16-bit globals over to be 32-bits