Move monitor settings to pre-upgrade operation (thanks Marc).