Updated some code; fixed minor bugs; improved Web interface