Better history appearance
Search function for history implemented