Moved a bunch of stuff from Main.cs into Manager.cs

Added history logging and a history summary DGV page