Add private on fields in MainWindowFrame.