SDL initialization and window opening