fix bug in extract_double (not returning "success" value)

Also, cleanup of unnecessary prints