Refactored MainForm xaml, Set min height and width