util: added table.invert
better player formatting