Minor bug fixes on windows

fixed artefacts when displaying progress bar and animation (the 'a'
symbol in some cases)