void CheckForModelChanges()
{
serializedObject.Update();
if (ChangesHappeningInForeground)
ChangesHappeningInForeground = false;