Stable but slow version

Major improvement of performance.
Every thing is handle by logical part
Add drawing events to the queue of events.
100% event driven simulation.