Whitespace!
Cache $the_table so it doesn't need to requery the dom each time.
Adding catchers for activate and deactivate.