Modifed console clearing.