perl: spell check the POD sections
Add missing g_return_val_if_fail()