Changed some debug statements.
Unlock should return the response and added a catch-all clause so we don't crash when faced with crap.
Finished a very workable Qt client.