Introduce TablePanel class; Fix #494