Refactored GFX to remove SDL from ops.c
Refactored ops.c