optimized menu and added pause overlay