Adding debug window