Fixed some CPS issues in Prelude.js
Small bug fixes in compiler