Updating pencil paint tool so it detaches the undo generator from the paint operation after finishing the operation
Updating FrameView so it correctly restores the interface state between form closings