I finally managed to get the game to work with the latest recommended forge version. I had to update java (I was something like 146 versions behind), then make sure all the mods that I had were updated to their latest versions, and finally the game started working properly. The fact that I was using an extremely outdated version of java might explain a few other issues as well.