cleanup GUI tools code
correct prototypes for 64-bit Windows host