a lot of fixes, prelude.s now compiles