now saves layout on loading. eliminates the restore-default bug.