Thanks to all the people that helped the project with guidance and/or answers:

Andy Wingo
Edward Hervey
Emmanuele Bassi
Robert Swain
