Updated command line parameter, changed some raw pointer to scoped_ptr,
updated D-Bus return messages. Some other minor issue are also fixed.