small fixes and additions for goopt