Tips on writing efficient code for Arduino

AWOL:
I don't see any good reason those variables should have global scope.
Keep it local, wherever possible.

Thanks for the tip.

I guess the lcd health check should also be locally scoped?

boolean lcdHealthCheck = false;