I only had a quick look at the code, but, could it be that the line
widthString = Console.ReadLine();
is hit, and that the console is simply waiting for some input? (enter some value and press the...