Finishing up table stuff and history tab