graphics/iulib: a few cleanups