Fixed various stuff when there are no projects