Setting up for the graphic engine.