#38 fix crash on restart if "Max line length before Line-Wrap" was set too large