removing unnecessary function pointer _isset variables and dealing with leak of friendlist

we can instead check if the function pointer is null or not, this relies on them either being calloc-ed (currently done in initMessenger) or being explicitly set to 0.

messenger friendslist also needs to be freed.