Fixed mainpanel layout and removed redundant bttns