Fixed and cleaned up some areas for supporting 64 bit integer size better. Example programs work fine with a 64 bit auint type.