More foldl' fixes (also unused variable warnings) for #70