add a texcount script
update the deffs files
make some plots by hand
general updates