Progress calculated wrongly.
Added incrementing rpc request id.
Revamping client functionality.

Fixed various small bugs, modified namespace, added method to kill
applications.