tiny docs update, fixed serious sgs msg func issues