After closing the stack trace window, Windows wanted to send an bug report, and after trying for a while I got a new stack trace. I have no idea if it's actually related.

Unhandled Exception

Kom version: 0.9.0.835

System.Environment.OSVersion = Microsoft Windows NT 5.1.2600 Service Pack 3

System.InvalidOperationException: I Undo-åtgärden påträffades en kontext som skiljer sig från den som användes i motsvarande Set-åtgärd. Problemet beror troligen på att en kontext angavs i tråden i stället för att återställas (ångras).
vid System.Threading.SynchronizationContextSwitcher.Undo()
vid System.Threading.ExecutionContextSwitcher.Undo()
vid System.Threading.ExecutionContext.runFinallyCode(Object userData, Boolean exceptionThrown)
vid System.Runtime.CompilerServices.RuntimeHelpers.ExecuteBackoutCodeHelper(Object backoutCode, Object userData, Boolean exceptionThrown)
vid System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
vid System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
vid System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
vid System.Net.ContextAwareResult.Complete(IntPtr userToken)
vid System.Net.LazyAsyncResult.ProtectedInvokeCallback(Object result, IntPtr userToken)
vid System.Net.Sockets.BaseOverlappedAsyncResult.CompletionPortCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped nativeOverlapped)
vid System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped
pOVERLAP)