Added more demo code. Mult context support.