small fixes sleeps comments and echos

Adding echo and sleeps to list.php
remvoed $sql variable from function errorStr()  in database.php