Compilation with 'unsafe' enabled by default, compiler optimizations flag in UI

Not tested at all :(