The beginnings of a real gallery view.
Clean up docblock and phpdoc while I'm here.