Fixed slow input buffer shutdown.
Simplified controller config parsing - behaviour unchanged.