Removed debugging code
Added a line item
Corrected pan_width off-by-1 & made it a method