Make close window hook wwork
Add bucket fill. And fix issue of autotile border setter mangling non-autotile tiles