Add strack trace debug function
Synching winlinks idx instead of window ids