Fix bug if no resources in Jigsaw / Fix some typos in comments