Improve and fix console, add clean command of console