Moved things around in th folder structure.
Deleted grid stuff.
I think I fixed it.
Still working on CSS, dammit. Need to fix padding/calculation of the size of the boxes in the periodic table. Also need to center the Product Search and style the table some more. Maybe add sorting. Oh, and modify the query to include composition...that'll be tough.