Fixed compilation errors.
Updated optimization pragmas in module Cont.
Reversed some optimization pragmas.