Bug 845681 - Save session states without any open windows on Mac OS X; r=felipe a=bajaj