Save/Restore layout of dock windows and menu statuses