Don't show detector window if no detector part is available. Fixes #56.