Add clear console functionality for UI