Thanks, I'll try to fix this next.
As far as the joystick is concerned, this change fixes it, but I'll try to change SDL so that this modification won't be necessary:
index 8b6b483..9381ae4 100644
--- a/src/startscreen.c
+++ b/src/startscreen.c
@@ -99,6 +99,10 @@ void startscreen(SDL_Window...