free status command entries after use, add unbind hook