project folder/name detection changed

that fixes writing todo's in new blank files