fixed issue with line numbers being offset (windows reported double line breaks for each line break...)

Signed-off-by: Daniel Dahlkvist (dice) <daniel.dahlkvist@dice.se>
added ability to save and load previous searches

Signed-off-by: Daniel Dahlkvist (dice) <daniel.dahlkvist@dice.se>