Exception handling.
small spelling fixes.