Changed to using stdbool.h instead of rolling our own.
Updated checks for SDL and arguments to exit cleanly on failure.