Improved loading history into listview.

It is now only loading as many items as required.
Fixed bugs with resizing.
refactoring
Fixed according to latest changes on the base classes.
Added option to delete item.