Qt: Fix crash by initializing UI theme, fix mouse input (scroll and drag), use default controls, and linux buildfix