Improvements to the appletouch.c driver