Code

Add paint bucket tolerance setting and toolbar widget to control tolerance