Fixes a few issues with PLC-based mode switching
2 files changed