tidied up devnull management and prepared functions for coming "dynamic devnull"...