tikz windows compatibility and forced refreshing