Fix some issues with the web interface