Friendlier error handling/tracebacks.

Signed-off-by: katlogic <kat@lua.cz>