works with tp3 and renders on tab switch (yay!)