Everything now compiles on Release and Debug without errors or warnings.