I just posted my first patch. Phew, it has been days of reconciliations between the inverse trunk and the lightning trunk, with a number of small differences to be resolved.
But, in the end, its been a positive weekend and week so far, I managed to clone the repository once from comm-central. Spent 4 hours in trying to get all the changesets, Mozilla source has really a long long history. Started a build environment once again and got the binaries i wanted.
So the patch has been tested on TB version> 5.0 and it works nicely in the offline mode as well as the 50x server unavailability mode.
Feel free to check out the patch. Its available here https://bugzilla.mozilla.org/show_bug.cgi?id=380060
Comments will be greatly appreciated. I am looking forward to some feedback to improve the user experience in dealing with these scenarios.