Implemented first revision of write tool painting front most.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>