Enabled client looping.  Removed memory error.  Moved param handling in the server.  Fixed memory leakage.