Added ability to turn graphics off