private void SendCommandAndSwitchWindows(string command)
{
ClearCurrentLineMarker();
ChangeDebugState(DebugState.Running);
if (_engineWindowHandle != IntPtr.Zero)
{
NativeProxy.SetForegroundWindow(_engineWindowHandle);
}
_communicator.SendMessage("<Engine Command=\"" + command + "\" />");
}