Finnished organizing MainWindow.xaml.cs

Organized methods into regions and some renaming.