updated some more or less important points in plot.py and borrowing/trebor.py