SDL-Ball1.01

Added some code to try and handle segfault on resolution change (that might be caused by sdl reporting a void current resolution). If resolution change fail, the game will quit, and not write the wrong resolution to config.