latest updates, fixes to plot, fix for random drawing on non-active PYAS