add callbacks for listener, adjust heyzap sample, other edits