Make the LineEditor a bit easier to use

Add an empty? method that says if its string is empty, and make
@search_line always populated.