Added logging to main in case of uncaught exception. Changed project settings to allow visual studio to compile the project with SDL.