More portability update + new example

 * Fixed further issues with integer sizes
 * Included a new example program (datlevel)
5 files changed