Fixed empty application menu on 10.5 and earlier
Fixed another potential crash in word expansion API

Calling wordfree() may lead to a crash when wordexp_t instance is not zero-initialized
This happened usually on older OS X like 10.5 or 10.6