LCD initializer state machine