Add smb_stat_list_destroy function. Plus a few small fixes