Added SignalR disconnect and other stuff so it finally works, it seems.