Extracts and includes the death year from the death date in individual data. Adds a flag to control subdirectory usage for generated files. This ensures correct linking and image paths in notes when using a subdirectory structure (people/, stories/, media/). Also, improves error logging during note generation.