new sql queries and moved several things to production
fixed display of '12-31-9999' date of death