Don't crash when no settings are found
Fix missing import for GPS code