Working out SQL-injection problems. Minor changes.