implement showing buffer numbers and modified (#212).