Cleanup of the console.