It's me again

Here are a few files I have modified for Oricutron so that it works better on the Macintosh:
http://torguet.net/Hialmar/machine.c - I have modified the mapkey function so that my keyboard works (I use a PC keyboard on a Mac Mini but I suppose the problem is here for other keyboard as well - I'll check that on other Macs at work);
http://torguet.net/Hialmar/gui.c - I have modified the savesnap function so that, if the save box doesn't open (which is the case on Mac OS X 10.9 right now) it will save in ./snapshots/snapshot.sna (which is better than nothing - I plan to solve the problem with the save box not opening but for now I'm trying to learn Objective C as I don't know it).
I will iron this out before proposing it to Oricutron developers but would like to know if other people wanted to test this on other Macs (with a non French system for example) to see if my patch is okay.
If you want to test it without compiling I have an executable for Mac OS X 10.9 here:
http://torguet.net/Hialmar/oricutron
Cheers,
Patrice