finish tile and auto_tile brush rewrite

Signed-off-by: anti-freak <antifreak2011@gmail.com>