Minor fixes for lout operation and task removal