Fixes for 32-bit in CreateBounds, and fixes to get the set creation working correctly in CSE6142.cpp