Switched in KEY and MS which yield to PAUSE on esp32. Added a background task which yield using yield() in place of the event loop. Made some formatting and carriage return handling changes to the web ui.
While theoretically many things could be general to Arudino, this has gotten confusing.