added F1,F2,F3,F4 switch UI components, bugfix grid display