Mark,
Your last email on this patch, from August 9th, indicates that you've still got "TODO: redo pg_stat_lock_waits ...". Has you updated this patch since then?
Thanks!
Stephen