further work on performance and bug fixing relating to active analogue inputs