Added some macros; made debugging configurable; split lang-min.