Fix segfaults when no device present
Hopping pattern clock mask tweak