Implemented Curl HTTP client wrapper.
Improved synchronization between the UI and REST calls that modify item state.