Initial implementation of block painting in GUI mode