fixed some minor problems, got web interface mostly working