brush mode ui (ugly brush class for the signal slot stuff)