#530: Logbook screenshot of Window or whole screen on Linux contains
remains of dialog

Fixed the screenshot behavior for log dialog.
ITER: Updated DB files parser to have a better cleaning of comments