Added line clearing and colors to blocks