Changed NULL to nullptr for compatability reasons, added code to start up allegro.