Chart flows smoothly, allowing 5k lines.

Also added some delegate methods and multithreaded rendering.