* mostly fixing windows issues with large files * some error message improvements as well * doing more stack allocations instead of heap * fixes to a few tests that were failing on other platforms