Updated a few remaining stdx references to std.
Fixed small typos.
Fixed issues with using ulong instead of size_t that would break only on 32bit.
Merge pull request #171 from workhorsy/master

Updated a few remaining stdx references to std.