Fixed SDL main errors

even even more report