fixed small memory leaks (missing XFree calls after XGetProperty/XGetWMName)