$null=[Native41]::PostMessage($main,16,[IntPtr]::Zero,[IntPtr]::Zero)
$null=$p.WaitForExit(2500)
if(!$p.HasExited){throw 'Owned saved editor did not close normally'}
@{pid=$l.pid;utc=[DateTime]::UtcNow.ToString('o');closedNormally=$true;sourceSha256=(Get-FileHash "$r\roster-editor41e\Studio.ROS").Hash;sourceCompanionSha256=(Get-FileHash "$r\roster-editor41e\Studio.ROS.openhoops.json").Hash}|ConvertTo-Json|Set-Content "$o\ui-close.json"
