Ugly fixed SetConsoleTextAttribute is not found in global scope, how I wish python would see them as closures