Fixed up graphics.cpp so that it compiles

SetColorKey still isn't working though