Use stdint.h instead of windows.h to improve portability.
Inprove progress message.