Some LCD debug mode fixes