Added getTaskList() for GUI access.