Cleanups to wrap_allegro.c