Implemented Ctrl+Z and Ctrl+Y. Closed #50. Fixed a reproducible StackOverflowException when using flood fill.