Partially fix photo layer support.

This works on Issue #6. Add support for clicking comment box.
Also, add a few missing semicolons.