added clear function to console panel and now clear the console before printing out compile message