Screen now clears properly when tasks are closed