(retroarch-qt) Fix more leaks
(retroarch-qt) Fix keyboard input