added colour to window clear function