Fork from http://sourceforge.net/projects/opengammax/