Made the application ready for the latest daemon and rpcwallet