Safely allow calling of certain GDraw routines when running headless.
Fix bad names.