We have events now for Virtual machines. So if a machine has been shutdown from the vm itself, the VM still shows up as running in the UI until we refresh the page. UI should automatically mark them off if it gets the SHUTDOWN event for a VM.
Please let me know if any issue arises with this. Thank you.