Fixes exception reporting bug. Fixes whitespace.