This fixes #3 and closes #3 (error marking multiple PaintObjects). Introduced list transactions which offer the possibilty to reset the state of the list after a certain action took place. TODO: allow nested transactions.