fixed program hanging when deleting floating task
changed search Engine constructor to take in BasicDataHandler