Created attachment 7980 [details] git patch file Made pdfdraw more modular (still more to come, if I get the time). Separated main function out to separate file. (Tried separating them into 3 files, but failed [suspect due to static functions]... May try again later.)