Refactoring in showhuman.py in generatehuman demo