altered the free_tables() function on each file to free memory properly per Zymala's Speller - Unload short.