mainBox changed to mainTable.

It gives us better control of objects that we are inserting