Adding and expanding galleries on project pages.

And some other small stuff.