added table legend and better back-to-matrix icon