(minor) fix NullPointerException in status bar handling
Optimize fill tool for case when original color = new color