Make work on Windows and fix colour so it is actually correct.