Split off 16-bit hook functions and re-implemented them on top of the 32-bit ones; system-wide 16-bit hooks are no longer supported at this point.
Get/SetForegroundWindow by storing the information in the server. Implemented correct inter-process window activation.