Added gif decoder, display mode constants