status bar above grids
code refactoring. "if" is not a function, plz