PJ: fix prototypes for pen tools.

For doptool functions, pentool is not used, wndo is used by zoom.
PJ: fix prototypes for poly.
PJ: fix prototypes for pic files.

Fixes crash when entering flic save menu on some machines.
PJ: fix prototypes for progids.