Added pixelmap drawing and function to init pixelmap.