- general code review and cleanup Cc: NeilBrown and Sergio Paracuellos