Make layer_brush its own function
Update linked brushing code