Arduino Mega serial in and serial out to OLED

Rewrite everything in loop().
That "delay() and assume the transmission is in" is really lame.
You should be reading the data for delimiters/markers of some kind and operating on those.