Added some graphical functionality.