Rename inverter layer, etc.

Renamed "g_graphics_inverter" as "g_inverter_layer" and made a few other
minor changes.