fixed some more minor stuff -moved figure legends around.