Added option -l for writing stack traces to stacks/.
Added alternative code path for 020-class-extending-itself.