New C# Gui

Implemented a new gui with a stats window. Also made new functions for
Dan.