Simple HTML UI and minor API improvements