Boy I wish someone would fix this!!
Here's some ideas that might help:
If you are using a playlist, uncheck the "autostart" button in preferences. When you load the playlist, always use the "Open" button on the file manager screen. Never use Enter key or mouse-click to load the playlist. For some reason, the "no autostart" only works with "Open".
Make sure that the playlist is not in the foreground when you start playing it. Also, again don't use the Enter key or mouse-click to start the playlist with the playlist displayed. Always (with the playlist hidden) start the playlist with the play button in the controls (lower left).
If I do any of the above, either the keyboard gets locked out or only ctrl+q will work (sometimes) but it's random.
Use the keyboard commands to set the options while playing (random, loop/repeat, etc.).
I've found this by much experimentation. Let me know if this works for you. I've seen posts about changing settings in some config files. I've tried that but none of them worked for me.
Now, if you can tell me how to adjust the display resolution in config.txt.....