Use Qt to lock orientation instead of platform-specific code.
Only run the UI on X11 for now until threads issue is resolved.