Fix weird linebreak. Fixes #758
Added a break, as suggested by @rarila. Fixes #757.
Tweaking the window.onbeforeunload handler for editing config files.