Added missing POPs in module variable initializations
Added a mild form of constant folding