fix php warnings on homepage
display username under inventory, .js file table of contents
dev console. for testing.