Initializing TTF library. Added error messages.
Added the quit for SDL and TTF.