added lcd re-init check and timer.