Update onevcd to take pending state into account. Minor change to web-ui.