Moved signal handling to exception.c, generate exceptions on signals. Added hook for debugger in exception handling (temporary).