missed static on sf_getoption
cleanup
add beginnings of ctypes example