change in WriteMessage

writes message and stays at the same line