Cleanup orpl.c
Finished basic cleanup of orpl module