fixed warning about window size
append .txt to debug info filename