changed all variables for GADGET to boolean where necessary; making checks on the response parameters to convert them from "true" to bool_t true