Changed the way console rows and cols are determined, Windows is now suported