Speed up load().
Add stacktrace to exceptions. Closing #349.