Can't apply changes to torrc when Tor haven't finished bootstrapping
Defect reproduction steps:
In torrc file add two lines - ExitNodes 126.96.36.199 and StrictNodes 1, or whatever will make connection to Tor network impossible.
Now Tor will constantly try to make a valid circuit and if you try to remove those 2 lines (using Vidalia GUI) it won't affect.
In TorrcDialog.cpp there's plenty of tc->isConnected(). Maybe it isn't necessary to be connected to save a torrc file? Also, isConnected() method seems to be indicating a fully established circuit, not only control socket connected to Tor.