Clean up display.
Move clear operation to server.