applied patch from Lukas Schroeder for register callbacks modified patch * tree.c : applied patch from Lukas Schroeder for register callbacks * valid.c: modified patch from Lukas Schroeder to test register callbacks with --chkregister Daniel