windows_examples: slight code improvements
windows_examples: add console_attr application