Update python templates.
Make treepy sort alphanumerically.
add rmtex command
minor