Removed dupe code in ProjectList
Fixed a bug where project state was not shown properly in project list
Fixed SQL upgrade script