Bug fixes

ushort/uint buffer type bug fixed (was always taking ushort, even when
uint)
2 more examples working