added tutorial examples for events and overlays
improved viewer public interface for overlays