Added limitation to number of lines shown.

Now displaying number of lines total in listbox.