fixed table stuff in data and error table shtml files
put button in main.shtml