Added fill tool functionality

Still needs to get optmized though (webworkers).