Starts fixing code for true cross platform and cross architecture functionality - stops packing size_t and isntead uses a field type with size invariance across architectures; fixes some broken menu stuff in the raw editor