Use TextBox.AppendText so the textbox auto scrolls
Reformat the main form's code so it can be loaded by the visual studio form editor