remove XInitThread call, it's causing strange errors
fix minor warning in test-010