small fixes
log.py: clean-ups
dead.py: clean-ups
ast.py: fixed function arguments and Node.__getattr__