Port megaphone applet to new API