Changed layout system to Windows Forms analogue