Updated lcd animation code, and minor formatting/comment changes