V0.0.0.12  Added some logging, and fixed an issue with delsub