Add assert macro.
GraphicsSystem: Fix calls to SDL IMG_Init causing the program to silently exit.