Moved some more logic to save handler and removed old compatibility code from save/load logic in machines (they'd be reset by now anyway due to API changes).
Externalized text buffer storage. This will hopefully avoid #443, will need long-term testing.