Optimized string handling and added support for multiple LCDs. Added support for configurable lines and characters.