In Penknife, fixed some errors with the (unused) compiler. The compilation of `main-essence` failed to unwrap errors and successes properly, and the way we declared param variables in the generated code caused them to get hoisted and shadow occurrences before they were initialized.