I5: add sleep, JSON+URL buttons, generic xsl template