Make sure we save window layout with all views visible

Since there is no way for a user to manually unhide a view, we need
to make sure all views are visible before we write the layout to
disk otherwise when we restore some may be hidden and there will
be no way for the user to unhide them
Remove some debugging when saving / restoring window layout