Long press buttons and waypoint safety checks

Merge long press button changes and waypoint safety checks.