Fixes to compiler; release script and Haskell package generation; some organization.