add debug window and something else