Added support for screen clearing.