almost fixed
fixed plotting, stupid....
fixed import script bug.
tried to get the pdf lib working, no done yet. merged.