Removing a bunch of unused graphics code.