add some debugging to prep.py
fix typos in texture article