Gallery now fires custom events - closes #4.