Update: debug window is now updated with thread