foolproofed the Live Map button to prevent segfaults caused by the user