Better abstraction of the unsaved window status.