Did some cool stuff to make the table functionality better.