Basic web interface and minor fixes.