Added grid toggle checkbox
Added crash QR code generation to help with debugging
Fixed rare bug that caused a crash after loading an image from a URL
Wrote base code to make patterns editable
Implemented palette selection of drawing
Made the pattern editor correctly return modified patterns