Debug DB and resize of window