removed project type check in projectclose(), silly check