(Rzlib) Cleanups to rzlib frontend code