Fixed console spam and other bugs