close #19: typesafer access to data_t
make sure selector types reflect underlying types
handle forgotten type cases in guamps_fwrite{,_scalar}
use data setters when selecting from tprs
use data accessors when updating tprs