Fix demos, start adding CPU profiling