Fixed <windows.h> include problem, fixed bug with animated progress bar
on Windows.