Made internal error handling more robust and randomized problems.