Client corrections

Made corrections to the client model. Re-ran the gsl scripts on the
client. Filled in missing code in generated stubs. Enhanced the
test code in the client.