More tweaks to center-overlay script. Good for now.