Remove debug writeln, fix deadsymbols
Enums inline, classes structs at module scope