Fixed stack size restoration after deallocation
Small optimization when "setting" array variables
Updated constant checking when rendering expressions to use new type expressions