Improve reference validation and some ref bugfixes
Improve reference validation and some ref bugfixes

darcs-hash:20070224162909-a5408-5510d44ea50e530afc1667f929c3ef2feb840edc.gz

pfmoore/blist,pfmoore/blist,DanielStutzbach/blist,DanielStutzbach/blist