Rework of a big part of the library.

Added documentation in WinHook.h, improved sample program.