I rarely have nightmares, in this case I believe it was caused purely by the acute anxiety and distress caused by discovering that I was infested with such a huge number of things I'd never seen before in my life and was kinda in shock, compounded by being physically exhausted and sleep starved too.