index.php
* modification for performance enhancement

srdb.class.php
* only list tables when necessary

srdb.cli.php
* coding style tweak after merging pull request (pedantry++)