tweak tab styling
implement adding and removing matrices
make tabs selectable
update all matrices