major rewrite to accomodate isoch plotting, still needs work