Various fixes that were found through testing and inspection. Some by myself, others reported. -- Jens Axboe