Remove algorithm in examples for now
Always call stop method on invoker after optimization

Also implement new properties in DualThreadInvoker.
Fix some stuff. Also disable some hanging tests