Added options.doProfiling to world.

Defaults to false.

Not sure if we should actually call this `options.doProfiling` or just `options.profiling`...