It looks like changing the display resolution to "default" on the MBP reduces/cover the problem. This will reduce macOS cycling through different resolutions on wake from sleep. But the problem might be still visible in multi-monitor scenarios.
In general Tangrid might execute some weird screen refreshes, rearranging windows in short time intervals, but at the end the display should look like before the sleep. Specially the order of tabs in tabbed layouts should stay stable.
Maybe implementing a configurable latency time - during which screen resolution/display layout changes would not trigger Tangrid's algorithms - would help. Specially with external monitors the EDID negotiations are taking a monitor/cable defined time...



