UPGRADE: Intarely new history algorithm. New way of storing canvas layers.