Changed default optimization levels.
Initialize to zero.
Remove conditional around free calls.