Updated command line parameter, changed some raw pointer to scoped_ptr,
updated D-Bus return messages, and some other minor fixes.