Fix PG datasource
Add wait cursor to table
Some little fixes