adjust comments in tgw-mat-view.sql; fix bug with initializing empty array in php5.3 in search.php and tgaz-lib.php