Added properties

Added and cleaned up numerous properties in MainWindow.