[PD] opening Gem window causes erratic behavior and freezes