new plotting tool
minor improvements