render -> renderStateOnCanvas
Move pattern combobox to the end
Drawing only on left mouse click
More precise reversible rule check