fixed fill tool bugs, added show/hide grid, general tweaks