Added beginnings of graphics system.